#ifndef __TASK_FUN_H__
#define __TASK_FUN_H__

#define SIGNAL_FORK   1      //岔路口
#define SIGNAL_ORIGIN  2     //起点标识
#define SIGNAL_STOP    3     //停车标识

#define K210_UART   "uart1"
#define TALK_UART   "uart2"

extern rt_sem_t k210_rx_sem;

void ist_turn_low(uint16_t delay_time_ms, uint8_t low_level);
void ist_signal_stop_5s(void);
void ist_origin_signal_add(void);
uint8_t ist_get_origin_signal_count(void);
uint8_t ist_get_road_signal_num(void);
void ist_clean_road_signal_num(void);

void  ist_car_talk(uint8_t cmd);

// void ist_k210_re_finish(void);
#endif
